package com.chenxingnet.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CarsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CarsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCidIsNull() {
            addCriterion("cId is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cId is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Integer value) {
            addCriterion("cId =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Integer value) {
            addCriterion("cId <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Integer value) {
            addCriterion("cId >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cId >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Integer value) {
            addCriterion("cId <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Integer value) {
            addCriterion("cId <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Integer> values) {
            addCriterion("cId in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Integer> values) {
            addCriterion("cId not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Integer value1, Integer value2) {
            addCriterion("cId between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Integer value1, Integer value2) {
            addCriterion("cId not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCaridIsNull() {
            addCriterion("carId is null");
            return (Criteria) this;
        }

        public Criteria andCaridIsNotNull() {
            addCriterion("carId is not null");
            return (Criteria) this;
        }

        public Criteria andCaridEqualTo(Integer value) {
            addCriterion("carId =", value, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridNotEqualTo(Integer value) {
            addCriterion("carId <>", value, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridGreaterThan(Integer value) {
            addCriterion("carId >", value, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridGreaterThanOrEqualTo(Integer value) {
            addCriterion("carId >=", value, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridLessThan(Integer value) {
            addCriterion("carId <", value, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridLessThanOrEqualTo(Integer value) {
            addCriterion("carId <=", value, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridIn(List<Integer> values) {
            addCriterion("carId in", values, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridNotIn(List<Integer> values) {
            addCriterion("carId not in", values, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridBetween(Integer value1, Integer value2) {
            addCriterion("carId between", value1, value2, "carid");
            return (Criteria) this;
        }

        public Criteria andCaridNotBetween(Integer value1, Integer value2) {
            addCriterion("carId not between", value1, value2, "carid");
            return (Criteria) this;
        }

        public Criteria andCmileageIsNull() {
            addCriterion("cMileage is null");
            return (Criteria) this;
        }

        public Criteria andCmileageIsNotNull() {
            addCriterion("cMileage is not null");
            return (Criteria) this;
        }

        public Criteria andCmileageEqualTo(String value) {
            addCriterion("cMileage =", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageNotEqualTo(String value) {
            addCriterion("cMileage <>", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageGreaterThan(String value) {
            addCriterion("cMileage >", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageGreaterThanOrEqualTo(String value) {
            addCriterion("cMileage >=", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageLessThan(String value) {
            addCriterion("cMileage <", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageLessThanOrEqualTo(String value) {
            addCriterion("cMileage <=", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageLike(String value) {
            addCriterion("cMileage like", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageNotLike(String value) {
            addCriterion("cMileage not like", value, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageIn(List<String> values) {
            addCriterion("cMileage in", values, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageNotIn(List<String> values) {
            addCriterion("cMileage not in", values, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageBetween(String value1, String value2) {
            addCriterion("cMileage between", value1, value2, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCmileageNotBetween(String value1, String value2) {
            addCriterion("cMileage not between", value1, value2, "cmileage");
            return (Criteria) this;
        }

        public Criteria andCbrandIsNull() {
            addCriterion("cBrand is null");
            return (Criteria) this;
        }

        public Criteria andCbrandIsNotNull() {
            addCriterion("cBrand is not null");
            return (Criteria) this;
        }

        public Criteria andCbrandEqualTo(BigDecimal value) {
            addCriterion("cBrand =", value, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandNotEqualTo(BigDecimal value) {
            addCriterion("cBrand <>", value, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandGreaterThan(BigDecimal value) {
            addCriterion("cBrand >", value, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cBrand >=", value, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandLessThan(BigDecimal value) {
            addCriterion("cBrand <", value, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cBrand <=", value, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandIn(List<BigDecimal> values) {
            addCriterion("cBrand in", values, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandNotIn(List<BigDecimal> values) {
            addCriterion("cBrand not in", values, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cBrand between", value1, value2, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCbrandNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cBrand not between", value1, value2, "cbrand");
            return (Criteria) this;
        }

        public Criteria andCcommenceIsNull() {
            addCriterion("cCommence is null");
            return (Criteria) this;
        }

        public Criteria andCcommenceIsNotNull() {
            addCriterion("cCommence is not null");
            return (Criteria) this;
        }

        public Criteria andCcommenceEqualTo(String value) {
            addCriterion("cCommence =", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceNotEqualTo(String value) {
            addCriterion("cCommence <>", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceGreaterThan(String value) {
            addCriterion("cCommence >", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceGreaterThanOrEqualTo(String value) {
            addCriterion("cCommence >=", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceLessThan(String value) {
            addCriterion("cCommence <", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceLessThanOrEqualTo(String value) {
            addCriterion("cCommence <=", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceLike(String value) {
            addCriterion("cCommence like", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceNotLike(String value) {
            addCriterion("cCommence not like", value, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceIn(List<String> values) {
            addCriterion("cCommence in", values, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceNotIn(List<String> values) {
            addCriterion("cCommence not in", values, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceBetween(String value1, String value2) {
            addCriterion("cCommence between", value1, value2, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCcommenceNotBetween(String value1, String value2) {
            addCriterion("cCommence not between", value1, value2, "ccommence");
            return (Criteria) this;
        }

        public Criteria andCbournIsNull() {
            addCriterion("cBourn is null");
            return (Criteria) this;
        }

        public Criteria andCbournIsNotNull() {
            addCriterion("cBourn is not null");
            return (Criteria) this;
        }

        public Criteria andCbournEqualTo(String value) {
            addCriterion("cBourn =", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournNotEqualTo(String value) {
            addCriterion("cBourn <>", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournGreaterThan(String value) {
            addCriterion("cBourn >", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournGreaterThanOrEqualTo(String value) {
            addCriterion("cBourn >=", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournLessThan(String value) {
            addCriterion("cBourn <", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournLessThanOrEqualTo(String value) {
            addCriterion("cBourn <=", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournLike(String value) {
            addCriterion("cBourn like", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournNotLike(String value) {
            addCriterion("cBourn not like", value, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournIn(List<String> values) {
            addCriterion("cBourn in", values, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournNotIn(List<String> values) {
            addCriterion("cBourn not in", values, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournBetween(String value1, String value2) {
            addCriterion("cBourn between", value1, value2, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCbournNotBetween(String value1, String value2) {
            addCriterion("cBourn not between", value1, value2, "cbourn");
            return (Criteria) this;
        }

        public Criteria andCactuateIsNull() {
            addCriterion("cActuate is null");
            return (Criteria) this;
        }

        public Criteria andCactuateIsNotNull() {
            addCriterion("cActuate is not null");
            return (Criteria) this;
        }

        public Criteria andCactuateEqualTo(String value) {
            addCriterion("cActuate =", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateNotEqualTo(String value) {
            addCriterion("cActuate <>", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateGreaterThan(String value) {
            addCriterion("cActuate >", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateGreaterThanOrEqualTo(String value) {
            addCriterion("cActuate >=", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateLessThan(String value) {
            addCriterion("cActuate <", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateLessThanOrEqualTo(String value) {
            addCriterion("cActuate <=", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateLike(String value) {
            addCriterion("cActuate like", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateNotLike(String value) {
            addCriterion("cActuate not like", value, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateIn(List<String> values) {
            addCriterion("cActuate in", values, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateNotIn(List<String> values) {
            addCriterion("cActuate not in", values, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateBetween(String value1, String value2) {
            addCriterion("cActuate between", value1, value2, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCactuateNotBetween(String value1, String value2) {
            addCriterion("cActuate not between", value1, value2, "cactuate");
            return (Criteria) this;
        }

        public Criteria andCexpenseIsNull() {
            addCriterion("cExpense is null");
            return (Criteria) this;
        }

        public Criteria andCexpenseIsNotNull() {
            addCriterion("cExpense is not null");
            return (Criteria) this;
        }

        public Criteria andCexpenseEqualTo(BigDecimal value) {
            addCriterion("cExpense =", value, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseNotEqualTo(BigDecimal value) {
            addCriterion("cExpense <>", value, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseGreaterThan(BigDecimal value) {
            addCriterion("cExpense >", value, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cExpense >=", value, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseLessThan(BigDecimal value) {
            addCriterion("cExpense <", value, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cExpense <=", value, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseIn(List<BigDecimal> values) {
            addCriterion("cExpense in", values, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseNotIn(List<BigDecimal> values) {
            addCriterion("cExpense not in", values, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cExpense between", value1, value2, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCexpenseNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cExpense not between", value1, value2, "cexpense");
            return (Criteria) this;
        }

        public Criteria andCpubdateIsNull() {
            addCriterion("cPubdate is null");
            return (Criteria) this;
        }

        public Criteria andCpubdateIsNotNull() {
            addCriterion("cPubdate is not null");
            return (Criteria) this;
        }

        public Criteria andCpubdateEqualTo(Date value) {
            addCriterion("cPubdate =", value, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateNotEqualTo(Date value) {
            addCriterion("cPubdate <>", value, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateGreaterThan(Date value) {
            addCriterion("cPubdate >", value, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateGreaterThanOrEqualTo(Date value) {
            addCriterion("cPubdate >=", value, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateLessThan(Date value) {
            addCriterion("cPubdate <", value, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateLessThanOrEqualTo(Date value) {
            addCriterion("cPubdate <=", value, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateIn(List<Date> values) {
            addCriterion("cPubdate in", values, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateNotIn(List<Date> values) {
            addCriterion("cPubdate not in", values, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateBetween(Date value1, Date value2) {
            addCriterion("cPubdate between", value1, value2, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCpubdateNotBetween(Date value1, Date value2) {
            addCriterion("cPubdate not between", value1, value2, "cpubdate");
            return (Criteria) this;
        }

        public Criteria andCreportstartIsNull() {
            addCriterion("cReportStart is null");
            return (Criteria) this;
        }

        public Criteria andCreportstartIsNotNull() {
            addCriterion("cReportStart is not null");
            return (Criteria) this;
        }

        public Criteria andCreportstartEqualTo(String value) {
            addCriterion("cReportStart =", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartNotEqualTo(String value) {
            addCriterion("cReportStart <>", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartGreaterThan(String value) {
            addCriterion("cReportStart >", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartGreaterThanOrEqualTo(String value) {
            addCriterion("cReportStart >=", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartLessThan(String value) {
            addCriterion("cReportStart <", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartLessThanOrEqualTo(String value) {
            addCriterion("cReportStart <=", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartLike(String value) {
            addCriterion("cReportStart like", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartNotLike(String value) {
            addCriterion("cReportStart not like", value, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartIn(List<String> values) {
            addCriterion("cReportStart in", values, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartNotIn(List<String> values) {
            addCriterion("cReportStart not in", values, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartBetween(String value1, String value2) {
            addCriterion("cReportStart between", value1, value2, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCreportstartNotBetween(String value1, String value2) {
            addCriterion("cReportStart not between", value1, value2, "creportstart");
            return (Criteria) this;
        }

        public Criteria andCdeptnameIsNull() {
            addCriterion("cDeptName is null");
            return (Criteria) this;
        }

        public Criteria andCdeptnameIsNotNull() {
            addCriterion("cDeptName is not null");
            return (Criteria) this;
        }

        public Criteria andCdeptnameEqualTo(String value) {
            addCriterion("cDeptName =", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameNotEqualTo(String value) {
            addCriterion("cDeptName <>", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameGreaterThan(String value) {
            addCriterion("cDeptName >", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameGreaterThanOrEqualTo(String value) {
            addCriterion("cDeptName >=", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameLessThan(String value) {
            addCriterion("cDeptName <", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameLessThanOrEqualTo(String value) {
            addCriterion("cDeptName <=", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameLike(String value) {
            addCriterion("cDeptName like", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameNotLike(String value) {
            addCriterion("cDeptName not like", value, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameIn(List<String> values) {
            addCriterion("cDeptName in", values, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameNotIn(List<String> values) {
            addCriterion("cDeptName not in", values, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameBetween(String value1, String value2) {
            addCriterion("cDeptName between", value1, value2, "cdeptname");
            return (Criteria) this;
        }

        public Criteria andCdeptnameNotBetween(String value1, String value2) {
            addCriterion("cDeptName not between", value1, value2, "cdeptname");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}